package cn.stylefeng.guns.modular.tool.service;

import cn.stylefeng.guns.base.pojo.page.LayuiPageInfo;
import cn.stylefeng.guns.modular.order.model.params.OrderPutDetailedParam;
import cn.stylefeng.guns.modular.order.model.params.OrderPutParam;
import cn.stylefeng.guns.modular.tool.entity.ToolExpress;
import cn.stylefeng.guns.modular.tool.model.params.ToolExpressParam;
import cn.stylefeng.guns.modular.tool.model.result.ToolExpressResult;
import cn.stylefeng.roses.core.reqres.response.ResponseData;

import com.baomidou.mybatisplus.extension.service.IService;

import java.util.List;

import org.springframework.web.multipart.MultipartFile;

/**
 * 快递统计管理 服务类
 */
public interface ToolExpressService extends IService<ToolExpress> {

    /**
     * 新增
     */
    void add(ToolExpressParam param);

    /**
     * 删除
     */
    void delete(ToolExpressParam param);

    /**
     * 更新
     */
    void update(ToolExpressParam param);

    /**
     * 查询单条数据，Specification模式
     */
    ToolExpressResult findBySpec(ToolExpressParam param);

    /**
     * 查询列表，Specification模式
     */
    List<ToolExpressResult> findListBySpec(ToolExpressParam param);

    /**
     * 查询分页数据，Specification模式
     */
     LayuiPageInfo findPageBySpec(ToolExpressParam param,String condition);

 	LayuiPageInfo findPageBySpecFind(ToolExpressParam toolExpressParam, String condition);

	LayuiPageInfo findPageBySpec2(ToolExpressParam toolExpressParam, String condition);

	LayuiPageInfo findwellenPageBySpec(ToolExpressParam toolExpressParam, String condition);

	List<ToolExpressResult> findListBySpecSum(ToolExpressParam expressParam);

	void deleteBySpec(ToolExpressParam expressParam);
	
	boolean saveBatchList(List<ToolExpressParam> list);
	
	void updateBySpec(ToolExpressParam expressParam);

	ResponseData getExceldata(MultipartFile file,Long waveId,Long customerId, ResponseData data)throws Exception;

	ResponseData getExceldata3(MultipartFile file,Long waveId, ResponseData data)throws Exception;

	ResponseData getExceldata4(MultipartFile file,Long waveId,Long customerId, ResponseData data)throws Exception;

	List<ToolExpressResult> findStopOrderListBySpec(ToolExpressParam param);

}
